package com.woniu.hospital.service;

import com.woniu.hospital.domain.Equipemnt;
import com.woniu.hospital.domain.EquipmentType;

import java.util.List;

/**
 * 设备类型表Service接口
 *
 * @author wolf-six
 * @date 2023-02-15
 */
public interface IEquipmentTypeService
{
    /**
     * 查询设备类型表
     *
     * @param equipmentTypeid 设备类型表主键
     * @return 设备类型表
     */
    public EquipmentType selectEquipmentTypeByEquipmentTypeid(Long equipmentTypeid);

    /**
     * 查询设备类型表列表
     *
     * @param equipmentType 设备类型表
     * @return 设备类型表集合
     */
    public List<EquipmentType> selectEquipmentTypeList(EquipmentType equipmentType);

    /**
     * 新增设备类型表
     *
     * @param equipmentType 设备类型表
     * @return 结果
     */
    public int insertEquipmentType(EquipmentType equipmentType);

    /**
     * 修改设备类型表
     *
     * @param equipmentType 设备类型表
     * @return 结果
     */
    public int updateEquipmentType(EquipmentType equipmentType);

    /**
     * 批量删除设备类型表
     *
     * @param equipmentTypeids 需要删除的设备类型表主键集合
     * @return 结果
     */
    public int deleteEquipmentTypeByEquipmentTypeids(Long[] equipmentTypeids);

    /**
     * 删除设备类型表信息
     *
     * @param equipmentTypeid 设备类型表主键
     * @return 结果
     */
    public int deleteEquipmentTypeByEquipmentTypeid(Long equipmentTypeid);

    EquipmentType selectEquipmentTypeByEquipmentTypeName(String equipmentTypeName);
}
